package com.koron.ticket.work.workmember.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class WorkMember {

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "工作票id")
    private String workTicketId;

    @ApiModelProperty(value = "工作成员类型:本单位、外单位、临时人员")
    private String type;

    @ApiModelProperty(value = "工作成员账号")
    private String memberAccount;

    @ApiModelProperty(value = "工作成员名字")
    private String memberName;

    @ApiModelProperty(value = "工作成员单位id")
    private String memberUnit;

    @ApiModelProperty(value = "工作成员名字")
    private String memberUnitName;

    @ApiModelProperty(value = "0-在使用；1-已删除")
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
}
